﻿using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Anonym.MVC.Filter
{
    public class AuthorityFilter : IAuthorizationFilter
    {
        public AuthorityFilter()
        {
            //注入参数
        }

        public void OnAuthorization(AuthorizationFilterContext context)
        {
            //权限验证
        }
    }
}
